package org.lc.platform.base.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class TreeListVo {

    /**
     * 唯一值
     */
    @Schema(description = "唯一值")
    private String id;
    /**
     * 展示名称
     */
    @Schema(description = "展示名称")
    private String label;

    /**
     * 禁用
     */
    @Schema(description = "禁用")
    private boolean disabled;

    /**
     * 是否叶子节点
     */
    @Schema(description = "是否叶子节点")
    private boolean isLeaf;

    /**
     * 子集
     */
    @Schema(description = "子集")
    private List<TreeListVo> children;
}
